package com.flyco.modules.oms.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.flyco.modules.oms.entity.OmsElemeGoodsItem;
import com.flyco.modules.oms.mapper.OmsElemeGoodsItemMapper;
import com.flyco.modules.oms.service.IOmsElemeGoodsItemService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 饿了么订单明细表
 * @Author: flyco
 * @Date:   2021-08-10
 * @Version: V1.0
 */
@DS("store")
@Service
public class OmsElemeGoodsItemServiceImpl extends ServiceImpl<OmsElemeGoodsItemMapper, OmsElemeGoodsItem> implements IOmsElemeGoodsItemService {
	
	@Autowired
	private OmsElemeGoodsItemMapper omsElemeGoodsItemMapper;
	
	@Override
	public List<OmsElemeGoodsItem> selectByMainId(String mainId) {
		return omsElemeGoodsItemMapper.selectByMainId(mainId);
	}
}
